﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MinimalistFoodStreet.BackEnd.Infrastructure.Attributes;
using MinimalistFoodStreet.BackEnd.Infrastructure.Dtos.Request.Functions;
using MinimalistFoodStreet.BackEnd.Infrastructure.Dtos.Request.Tables;
using MinimalistFoodStreet.BackEnd.Infrastructure.Dtos.Response;

namespace MinimalistFoodStreet.BackEnd.Server.IServer.Tables
{
    [ProvideClassOrInterface]
    public interface IChartsServer
    {
        Task<ResponseApiDto> Add(RequestCreateChartsDto dto, int bid);
        Task<ResponseApiDto> Delete(RequestIdChartsDto dto);
        Task<ResponseApiDto> Increase(RequestIdChartsDto dto);
        Task<ResponseApiDto> Decrease(RequestIdChartsDto dto);
        Task<ResponseApiDto> SetChartGoodCount(RequestSetChartGoodCount dto);
        Task<ResponseApiDto> GetCartList(int bid);
    }
}
